<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>任务详情 - 极简Todo系统</title>
    <link
      href="https://cdn.bootcdn.net/ajax/libs/tailwindcss/2.2.19/tailwind.min.css"
      rel="stylesheet"
    />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
    />
    <style>
      body {
        height: 100vh;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
          sans-serif;
        background-color: #f2f2f7;
      }

      .ios-status-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 44px;
        padding: 0 16px;
        font-size: 12px;
        font-weight: 600;
        color: #000;
        background-color: #ffffff;
      }

      .nav-header {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        background-color: white;
        border-bottom: 1px solid #f0f0f0;
      }

      .detail-section {
        padding: 16px;
        margin: 16px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      }

      .detail-item {
        display: flex;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
      }

      .detail-item:last-child {
        border-bottom: none;
      }

      .detail-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        margin-right: 16px;
        color: #007aff;
      }

      .priority-badge {
        display: inline-block;
        padding: 4px 8px;
        font-size: 12px;
        font-weight: 600;
        color: white;
        border-radius: 4px;
      }

      .priority-high {
        background-color: #ff3b30;
      }

      .priority-medium {
        background-color: #ff9500;
      }

      .priority-low {
        background-color: #34c759;
      }

      .action-button {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        margin-top: 8px;
        font-weight: 600;
        border-radius: 8px;
      }
    </style>
  </head>
  <body>
    <!-- iOS 状态栏 -->
    <div class="ios-status-bar">
      <div>9:41</div>
      <div class="flex space-x-2">
        <i class="fas fa-signal"></i>
        <i class="fas fa-wifi"></i>
        <i class="fas fa-battery-full"></i>
      </div>
    </div>

    <div class="nav-header">
      <a href="home.html" class="text-blue-500">
        <i class="fas fa-chevron-left mr-2"></i>
        返回
      </a>
      <h1 class="text-xl font-semibold mx-auto">任务详情</h1>
      <a href="task-edit.html" class="text-blue-500">
        <i class="fas fa-edit"></i>
      </a>
    </div>

    <div class="detail-section">
      <h2 class="text-2xl font-bold mb-4">完成项目报告</h2>

      <div class="detail-item">
        <div class="detail-icon">
          <i class="fas fa-tag"></i>
        </div>
        <div>
          <div class="text-sm text-gray-500">分类</div>
          <div class="font-medium">工作</div>
        </div>
      </div>

      <div class="detail-item">
        <div class="detail-icon">
          <i class="fas fa-flag"></i>
        </div>
        <div>
          <div class="text-sm text-gray-500">优先级</div>
          <div class="priority-badge priority-high">高</div>
        </div>
      </div>

      <div class="detail-item">
        <div class="detail-icon">
          <i class="fas fa-calendar"></i>
        </div>
        <div>
          <div class="text-sm text-gray-500">日期</div>
          <div class="font-medium">2023年6月15日</div>
        </div>
      </div>

      <div class="detail-item">
        <div class="detail-icon">
          <i class="fas fa-clock"></i>
        </div>
        <div>
          <div class="text-sm text-gray-500">时间</div>
          <div class="font-medium">09:00 - 17:00</div>
        </div>
      </div>

      <div class="detail-item">
        <div class="detail-icon">
          <i class="fas fa-bell"></i>
        </div>
        <div>
          <div class="text-sm text-gray-500">提醒</div>
          <div class="font-medium">提前15分钟</div>
        </div>
      </div>
    </div>

    <div class="detail-section">
      <h3 class="font-semibold mb-3">描述</h3>
      <p class="text-gray-700">
        详细介绍项目进展，包括已完成的工作、当前遇到的问题以及下一步计划。需要准备PPT和演示文稿。
      </p>
    </div>

    <div class="detail-section">
      <h3 class="font-semibold mb-3">番茄钟</h3>
      <div class="flex items-center justify-between">
        <div>
          <div class="text-sm text-gray-500">预计番茄钟</div>
          <div class="font-medium">4个</div>
        </div>
        <div>
          <div class="text-sm text-gray-500">已完成</div>
          <div class="font-medium">2个</div>
        </div>
        <a href="pomodoro.html" class="bg-blue-500 text-white px-4 py-2 rounded-lg text-sm">
          开始番茄钟
        </a>
      </div>
    </div>

    <div class="p-4 flex space-x-4">
      <button class="action-button bg-green-500 text-white flex-1">
        <i class="fas fa-check mr-2"></i>
        完成任务
      </button>
      <button class="action-button bg-red-500 text-white flex-1">
        <i class="fas fa-trash mr-2"></i>
        删除任务
      </button>
    </div>
  </body>
</html>
